package com.zlw.utils;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/**
 * @author Zhaoluowei
 * @version 1.0
 * @date 2020/1/11 18:38
 */
public class ArrayUtils {


    /**
     * 集合去重
     *
     * @param ss
     * @return
     */
    private static String[] array_unique(String[] ss) {
        Set<String> set = new HashSet<String>(Arrays.asList(ss));
        return set.toArray(new String[set.size()]);
    }


}
